<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
        .deta{
            width: 95%;
            margin: auto;
        }
        table{
            width: 50%;

        }
    </style>
</head>
<body>
<div class="deta">
    <table>
        <tr>
            <td>
                <h2>您的消费明细</h2>
            </td>
            <td>
                总计：<!--{$money}-->元
            </td>
        </tr>
        <foreach name="data" item="val">
            <tr>
                <td>
                    <!--{$val['ord_time']}-->
                </td>
                <td>
                    您花费了<!--{$val['money']}-->元
                </td>

            </tr>
        </foreach>
    </table>
</div>
</body>
</html>